[HVM] Enable more than one platform timer (PIT/RTC/HPET)
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Dec 2006 10:37:23 +0000 (10:37 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Wed, 20 Dec 2006 10:37:23 +0000 (10:37 +0000)
commitddc35d1cc994bde1c3560c5dc30a4adc944ef4ac
tree70de5fedc1a3be62d38992962caac2b15647da6d
parent625141e5d7a0076eddf421cd7afccefce9cb000e
[HVM] Enable more than one platform timer (PIT/RTC/HPET)
programmed as periodic timer and adds them to abstract layer, which
keeps track of pending_intr_nr to avoid time interrupt lost and
sync'ed timer with TSC.

It also makes some cleanup to the time related code.

Signed-off-by: Xiaowei Yang <xiaowei.yang@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
21 files changed:
xen/arch/x86/domain.c
xen/arch/x86/hvm/Makefile
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/i8254.c
xen/arch/x86/hvm/intercept.c
xen/arch/x86/hvm/io.c
xen/arch/x86/hvm/irq.c
xen/arch/x86/hvm/pmtimer.c
xen/arch/x86/hvm/rtc.c
xen/arch/x86/hvm/svm/intr.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vlapic.c
xen/arch/x86/hvm/vmx/intr.c
xen/arch/x86/hvm/vmx/vmx.c
xen/arch/x86/hvm/vpic.c
xen/include/asm-x86/hvm/hvm.h
xen/include/asm-x86/hvm/io.h
xen/include/asm-x86/hvm/irq.h
xen/include/asm-x86/hvm/vcpu.h
xen/include/asm-x86/hvm/vlapic.h
xen/include/asm-x86/hvm/vpt.h